const Users = require('./users.js')
const Customers = require('./customers.js')
const services = require('./services.js')
const Products = require('./products.js')

/**
 * 后台 系统接口
 *
 */
const admin = (fastify, options, done) => {
  // 客户管理
  fastify.register(Customers)
  // 用户管理
  fastify.register(Users)
  // 产品管理
  fastify.register(Products)
  done()
  // fastify.register(services)
  // done()
}

module.exports = admin
